Multi-protocol adapter for in-vehicle and industrial communications networks

ABSTRACT

An adapter device for providing the user a remote access point for supporting interaction between the device and one or more target devices supporting one or more of several communication protocols for automotive and industrial automation applications employing user-selectable protocols, such as multiplexed communication networks.

[0001] This application is based on Provisional Patent Application Ser. No. 60/186,533 filed Mar. 2, 2000.

BACKGROUND OF THE INVENTION

[0002] The field of the invention pertains to in-vehicle and industrial communications networks for diagnostics, analysis and monitoring. Multiplex communication networks are used in automotive and industrial automation applications. However, the ability was needed to access, monitor, control and modify/update, any and all functions or capabilities of another device utilizing such communication networks.

SUMMARY OF THE INVENTION

[0003] The device is a hardware/software system that provides a programmable gateway between many types of automotive/industrial serial multiplex networks and Ethernet-connected computers and networking equipment. This hardware/software combination provides user applications with the ability to perform control, transmit and receive operations on such automotive and industrial multiplex networks.

[0004] User applications may reside either on the hardware device itself (in a stand-alone manner) or on remote computers with connectivity to one or more of the hardware units via the Ethernet and the TCP/IP protocol. Use of TCP/IP protocol and Ethernet ensure compatibility with a wide range of existing networks and computing equipment.

[0005] User applications include, but are not limited to, network monitors and analyzers, diagnostic programs, gateway/routers between one or more of the supported networks, multiplex network node and/or vehicle simulators, and general engineering tools.

[0006] The hardware/software supports multiple simultaneous client applications. Duplicate streams of the multiplex network data are sent to all interested client applications.

[0007] A predefined set of services are available via the default hardware/software configuration. These services include multiplex message scheduling functions, message filtering functions, simple message gatewaying and autoresponding functions, and client transmit/receive access to all data frames present on any of the supported multiplex network interfaces.

[0008] The invention is a device (or adapter or instrument) for providing the user a remote access point for interaction between the device and one or more target devices running one or more of several communication protocols supported by this device. As described above, automotive and industrial automation applications employ such protocols (also known as multiplexed communication networks).

[0009] The device of the invention advantageously provides the user with the ability to access, monitor, control and modify/update, any and all functions or capabilities of another device utilizing the same communication protocol that the user has selected. The user is able to control these functions as a result of a unique communication dialogue established between this device and the target device.

[0010] The device has the capability of simultaneous interaction with multiple devices utilizing multiple protocols. Interactive control capability established with the target device, includes (but is not limited to), the following functions: interrogating, monitoring, retrieving data, downloading data, recording data, revising/updating data, performing diagnostics and revising/updating the operating program of the target device.

[0011] Daughtercard interface modules are based on the ISA Interconnect Standard even though they utilize small, space-saving connectors (as opposed to the standard ISA board-edge interconnections). As a result, they occupy a much smaller and more compact area, than would otherwise be possible for a standard plug-in module utilizing the ISA format.

[0012] Daughtercard interface modules can be plug-in modules to provide support for the following protocols: SAE J1850 (GM, Ford and Chrysler versions), UBP (Ford), CCD (Chrysler), SCI (Chrysler), CAN, SAE J1587, J1939, J2284 (high speed CAN), J2411 (single wire CAN), ISO 11992, 9141-2 and KWP2000.

[0013] New communication protocols may be added to the device capabilities at any time by creating a new daughtercard module for supporting the new protocol.

[0014] System Attributes

[0015] Daughtercard interface modules provide the user with automatic detection capability for all of the designated communication protocols. This allows the user the flexibility of choosing a “mix or match” combination of the various protocols, i.e., three of the same, or three different protocols. More daughter cards can be added as necessary to support more channels.

[0016] The device is also capable of functioning as a “stand-alone” network interface, without the need for a keyboard, monitor, or host PC. Multi-protocol networks, such as IDB networks or those multi-protocol networks accessed via a universal gateway, may have unique access and/or diagnostic requirements.

[0017] The device's ability to simultaneously access and interact with multiple devices/protocols, automatically provides the device with the compatibility required for an access tool or diagnostic tool for multi-protocol networks. The device uses an Ethernet connection to provide the high-speed communications interface that is necessary for interaction with the newer, high-throughput protocols.

[0018] Another capability of the device is its ability to reliably monitor, sample, evaluate and manipulate the real-time data usually associated with these high-speed protocols.

[0019] The device maximizes flexibility by ensuring compatibility with hardware interfaces and other network tools commonly used in conjunction with these supported network protocols.

[0020] Communication Protocol

[0021] Communication between the device server, clients, plug-in applications and protocol stacks occurs by means of a communication protocol (hereafter referred to as the device communication protocol, or CP). CP provides a mechanism for the communication of serial multiplex network messages between software entities in such a way that knowledge of the specific format of the messages of a specific type of multiplex network is not required. The serial multiplex networks involved are automotive and/or industrial automation networks, including but not limited to CAN (IS011898, GM Single-wire, and others), J1850 (GM, Ford and Chrysler variants), Keyword Protocol 2000, and various other UART-based protocols.

[0022] This generalized representation of the frames of such serial networks allows communication of frames from an arbitrary arrangement of similar or differing networks within a consistently formatted connection between a client and server. Consequently, this generalized representation of the frames of such serial networks also allows for use and interpretation of such multiplex network frames by a client that has no previous knowledge of the types or formats of the multiplex network frames that it will receive; all relevant format and decoding information is contained within the client/server communication. Moreover, this generalization of differing types of multiplex network traffic facilitates communication between software and a multi-protocol device such as the device hardware.

[0023] CP also incorporates mechanisms to allow control, status and event information communication between the client and server software entities. This inclusion allows for a uniform communication environment between software entities within the device system, regardless of whether these entities are servers, clients, or plug-in applications or protocol handlers.

[0024] CP is typically embedded within a TCP/IP connection between two software elements (the server, clients, etc.). CP is a frame based protocol. Each CP frame consists of the following elements:

[0025] A frame header that contains information about the required routing of the frame; the identity of the source entity and of the destination entity are specified. This header also contains an indication of the frame type, as well as the length of the entire frame. A frame-type specific header contains information specific to the frame type specified in the frame header. An optional payload for which the format or presence/absence of a payload depends on the frame type specified in the frame header.

[0026] Five frame types are herein defined, although more are easily envisioned. Some frame types are as follows.

[0027] 1. Command frames contain commands that are sent by the source entity and received by the destination entity. These commands serve to control behavior or request information or actions of the destination target. The payload portion of the CP command frame is command-specific data. A number of generic system-wide commands are specified, but each software entity may have its own set of recognized and handled commands.

[0028] 2. Response frames contain a destination entity's response to a previously-received command frame. This response frame is sent back to the entity that originally sourced the relevant command. The payload portion of the CP response frame is command-specific data.

[0029] 3. Data frames contain encapsulated multiplex network frames. CP data frames contain an additional header that contains information about the encapsulated multiplex frame. This information includes:

[0030] A timestamp that applies to the transmit/receive time of the multiplex frame;

[0031] Indications of header/data/other field lengths within the encapsulated multiplex frame;

[0032] Indications of special modes or flags that may apply to the multiplex frame;

[0033] The remainder of the payload of a CP frame contains the actual multiplex network frame; and

[0034] CP data frames provide the primary mechanism by which multiplex network frames are gatewayed between the multiplex networks and the device system's applications and remote clients.

[0035] 4. Event frames contain information about system or software entity events. This data is not sent as a response to a request, but rather as independent event-driven notifications. The payload portion of a CP event frame contains event-specific data.

[0036] 5. ASCII message frames contain zero-terminated human readable ASCII messages. There is no frame type specific header for this frame type; the entire remainder of the frame contains the payload, which is the ASCII message.

[0037] 6. MISC frames user-defined data. No definitions are made for the format of the remainder of this frame type; it is open to user definition.

[0038] Software

[0039] The software components of the device hardware/software combination implement the device Communication Protocol and facilitate communication between multiplex networks, plug-in applications and protocols, and client applications. The general software architecture of the components of the device software system involved in the handling of the functionality is outlined in this description.

[0040] The software that resides on the device hardware platform consists of the following types of components:

[0041] The server program that implements the device Communication protocol. The server program handles communication between clients and other parts of the device software. The server acts primarily as a message router, routing GC Protocol frames between source entities and destination entities as specified by the routing information contained within each GC Protocol frame. The server communicates with device drivers by means of standard Unix character device interfaces.

[0042] Multiplex network hardware device drivers that are software modules to implement hardware access methods for each supported multiplex network hardware type. A separate loadable device driver module exists for each type of device daughtercard; each daughtercard may implement one or more multiplex network interfaces. These modules provide a uniform software interface method to non-uniform types of hardware interfaces. Interface to specific hardware is accomplished by means of memory or I/O space interfaces and system interrupts.

[0043] 1. Plug-in applications and protocols programs are loadable software modules that provide additional functionality to the device hardware/software system. One or more of these modules may be configured to load at start-up time; they provide services such as message filtering, scheduling and autoresponding capabilities. Additional modules provide high-level protocol encoding and decoding (J1939, GM USDT and DeviceNet protocol modules are examples of supported plug-in protocol modules).

[0044] 2. Hardware autodetection and configuration software programs detect the types of multiplex protocol daughtercards installed in the device hardware platform at runtime. These programs are responsible for loading of appropriate device driver modules for support of installed cards, as well as any configuration that is needed for each individual card. Detection of card identity is performed through the reading of serial eeproms located on each card by means of a dedicated serial interface. These eeproms contain card type and serial number as well as licensing and security information. All information gathered from installed cards in this manner is made available to the server program.

[0045] Plug-in software modules are described above include but are not limited to:

[0046] Message scheduler module provides a user-controllable multiplex network message scheduler. Lists of messages, sublists, iteration counts, and iteration periods are specified by client applications. The message scheduler tracks multiple schedules and notifies client programs via events when schedules complete. Message scheduling is performed by means of a real-time hardware clock and associated services provided by the operating system.

[0047] Message responder module provides user-definable message gatewaying functionality. It allows any arbitrary CP frame to be sent on receipt of any other arbitrary CP frame. Received frame matching is determined based on a user-defined filter definition that includes AND, OR, magnitude comparison, and bit mask/match operations.

[0048] Message filter module controls filtering of received multiplex network messages. The filter module allows individual client applications to choose the nature of the messages they receive based on a filter specification for each multiplex network channel that includes AND, OR, magnitude comparison, and bit mask/match operations.

[0049] Script loader module allows for the controlled download, management and activation of userdefined scripts. These scripts are typically generated by means of an external front-end editor/compiler software package.

[0050] Hardware

[0051] The device hardware platform consists of a motherboard and zero or more multiplex protocol daughtercards. The device motherboard implements a modified PC architecture. This architecture includes the following elements and peripheral devices:

[0052] Integrated CPU;

[0053] Daughtercard interconnect slots;

[0054] Alphanumeric LCD and keypad for user input/output;

[0055] 10-base-T Ethernet interface for client interconnection;

[0056] EIA232 serial port for diagnostics and system maintenance;

[0057] Compact Flash socket for storage of system software and applications;

[0058] (2) PCMCIA slots for connection of industry standard peripherals;

[0059] 72-pin SODIMM socket for connection of system RAM;

[0060] IDE interface for connection of mass-storage devices;

[0061] A coin-cell battery for clock and configuration memory backup;

[0062] IRDA infrared serial interface; and

[0063] Piezoelectric speaker.

[0064] The motherboard can include the following components.

[0065] CPU and associated buffering and memory. The board is based on the AMD Elan SC400 integrated CPU. Level shifting buffers provide translation between the 3.3VDC and 5VDC portions of the system. A 72-pin small-outline dual inline memory module socket provides interface to a standard memory module; this module is used as the system's RAM.

[0066] A flash-ROM provides non-volatile memory space for the system's BIOS and boot routines.

[0067] Daughtercard interface slots provide a subset of ISA architecture signals, as well as proprietary signals that provide a card ID interface and predefined slot memory and I/O space decodes.

[0068] PCMCIA sockets for attachment of industry-standard PCMCIA devices.

[0069] Serial interfaces. One EIA232 interface and one IRDA interface are provided.

[0070] LCD and keypad. An alphanumeric LCD interface and a 4-key keypad interface are provided for user input/output capabilities.

[0071] Ethernet interface. A standard 10-base-T Ethernet interface is implemented by means of a Crystal

[0072] Semiconductor CS8900 device. This device provides the primary user communication interface.

[0073] Power supply interconnect. This interconnect forms an attachment point for a small DC-DC converter that provides system power supplies.

[0074] ATA interface provides an attachment point for mass storage devices. One Compact Flash and one 44-pin IDE interface is provided.

[0075] Programmable logic block (CPLD) provides programmable logic space. This logic provides support for the following: LCD/Keypad interface, daughtercard slot support, buffer control, and address decoding/interrupt routing for other system peripherals.

[0076] A power supply card provides three DC-DC converters that provide the device hardware platform's required supply voltages (3.3VDC, 5VDC and 12VDC). The supported input voltage range is between 6VDC and 35VDC; the circuit provides protection against incorrect or reverse-polarity input voltages.

[0077] Daughtercards interface to the motherboard by means of card interface slots on the motherboard. Each slot implements a modified ISA interface. Up to three daughtercards may be installed at a time. The daughtercards include (but are not limited to) implementations of the following interfaces:

[0078] CAN (IS011898)

[0079] CAN (IS011992)

[0080] Single-wire CAN

[0081] GM J1850

[0082] Ford J1850

[0083] Chrysler J1850

[0084] Chrysler CCD

[0085] Ford UBP

[0086] Honda UART-based protocol

[0087] Keyword Protocol 2000

[0088] Optically isolated CAN

[0089] Optically isolated single-wire CAN

[0090] Optically isolated GM J1850

[0091] Optically isolated Keyword Protocol 2000

[0092] Each daughercard includes a connector that mates with the motherboard daughtercard slot connector on one end and a multiplex network connector on the other. The daughtercards are physically mounted in such a way that the multiplex network connector protrudes through the back panel of the hardware unit. Each daughtercard also includes programmable logic that implements the ISA target interface and provides internal registers and other card resources. Each card includes a serial eeprom that contains the type, serial number, and security and licensing information for that card.

[0093] The optically isolated cards provide fiberoptic connections that carry relevant network signals; these optical signals are converted back to the desired multiplex network signals by means of small battery-operated satellite modules specific to the desired multiplex network.

[0094] The device protocol structure employs the standard Transmission Control Protocol/Internet Protocol (TCP/IP) services in such a manner to ensure the inter-operability of the device with existing PCs and standard network interfaces.

[0095] Another unique feature of the device allows the user to remotely reprogram or revise the device operating software via flash card. The operating software may be upgraded by replacing selected programs, or segments of the software, or replaced in its entirety.

[0096] The PC card (PCMCIA) slots provide for a backup by allowing the user to transfer data from the flash card to a “temporary” storage media, thus maintaining the original program integrity while making revisions to the device program.

[0097] Also, this same feature allows the user to update the device's resident data base, in the event that such a data base has been created for use as a reference or for some other purpose.

[0098] The device incorporates an on-board web server. This allows users to communicate with the device and perform functions via a web browser with HTML.

[0099] Other browser technologies that can be supported include XML and WML (for hand-held palm devices or WML enabled cell phones).

[0100] Another key feature is the ability to perform a remote flash memory update to the device.

[0101] These and other advantages and features of novelty which characterize the invention are pointed out For a more complete understanding of the present invention, reference is made to the following detailed description when read with in conjunction with the accompanying drawings wherein like reference characters refer to like elements throughout the several views, in which:

BRIEF DESCRIPTION OF THE DRAWINGS

[0102]FIG. 1 illustrates device mainboard overview;

[0103]FIG. 2 illustrates device mainboard schematic: CPU, memory, buffers, Central Processor, RAM, flash-ROM (for BIOS);

[0104]FIG. 3 illustrates device mainboard schematic: daughtercard interconnects modified ISA);

[0105]FIG. 4 illustrates device mainboard schematic;

[0106]FIG. 5 illustrates device mainboard schematic: Serial devices (RS232 port, IRDA transceiver);

[0107]FIG. 6 illustrates device mainboard schematic: I/O devices (LCD, keypad connections);

[0108]FIG. 7 illustrates device mainboard schematic: Ethernet controller;

[0109]FIG. 8 illustrates device mainboard schematic: power supply interconnect;

[0110]FIG. 9 illustrates device mainboard schematic: IDE device interface;

[0111]FIG. 10 illustrates device mainboard schematic: CPLD glue logic; and

[0112]FIG. 11 illustrates device power supply board mainboard schematic.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0113] Now turning to the drawings, circuits of the protocol adapter are thereshown in schematic in FIGS. 1 through 24.

[0114] The operating software is depicted in a block diagram in FIG. 1 with FIG. 2 through FIG. 10 showing elements of the mainboard schematic. The general software architecture of the components of the device software system, server program 1 handles communication between clients 6, 6 and other parts of the device software 3, 4, 5. Server program 1 acts primarily as a message router, routing GC Protocol frames between source entities and destination. Server program 1 communicates with device drivers 2, 2, etc. by means of standard Unix character device interfaces 7.

[0115] Hardware autodetection and configuration software 11 detect the types of multiplex protocol daughtercards installed in the device hardware platform at runtime. Thereafter appropriate device driver modules 2, 2, etc. are loaded for support of installed cards, as well as any configuration that is needed for each individual card. Detection of card identity is performed through the reading of serial eeproms located on each card by means of a dedicated serial interface 12. The eeproms contain card type and serial number as well as licensing and security information. All information gathered from installed cards in this manner is made available to the server program 1.

[0116] Plug-in software module Message scheduler 3 provides a user-controllable multiplex network message scheduler. Lists of messages, sublists, iteration counts, and iteration periods are specified by client applications. The message scheduler tracks multiple schedules and notifies client programs via events when schedules complete. Message scheduling is performed by means of a real-time hardware clock and associated services 10 provided by the operating system.

[0117] Message responder 5 provides user-definable message gatewaying functionality. It allows any arbitrary CP frame to be sent on receipt of any other arbitrary CP frame. Received frame matching is determined based on a user-defined filter definition that includes AND, OR, magnitude comparison, and bit mask/match operations.

[0118] Message filter 4 controls filtering of received multiplex network messages. The filter module allows individual client applications to choose the nature of the messages they receive based on a filter specification for each multiplex network channel that includes AND, OR, magnitude comparison, and bit mask/match operations.

[0119] Script loader (not shown in FIG. 1) allows for the controlled download, management and activation of user-defined scripts. These scripts are typically generated by means of an external front-end editor/compiler software package.

[0120] Now turning to FIG. 2, the device hardware platform is depicted as having a CPU and associated buffering and memory: The board is based on the AMD Elan SC400 integrated CPU. Level shifting buffers provide translation between the 3.3VDC and 5VDC portions of the system. A 72-pin small-outline dual inline memory module socket provides interface to a standard memory module; this module is used as the system's RAM. A flash-ROM provides non-volatile memory space for the system's BIOS and boot routines.

[0121] Daughtercard interface slots (FIG. 3) provide a subset of ISA architecture signals, as well as proprietary signals that provide a card ID interface and predefined slot memory and I/O space decodes.

[0122] Now turning to FIG. 4, PCMCIA sockets are provided for attachment of industry-standard PCMCIA devices. Serial interfaces are depicted in FIG. 5. LCD and keypad are shown in FIG. 6. An alphanumeric LCD interface and a 4-key keypad interface are provided for user input/output capabilities.

[0123] Ethernet interface is shown in FIG. 7. A standard 10-base-T Ethernet interface is implemented by means of a Crystal Semiconductor CS8900 device. This device provides the primary user communication interface. FIG. 8 shows Power supply interconnect that forms an attachment point for a small DC-DC converter that provides system power supplies.

[0124] ATA interface provides an attachment point for mass storage devices (FIG. 9). One Compact Flash and one 44-pin IDE interface is provided.

[0125] Programmable logic block (CPLD) provides programmable logic space (FIG. 10). This logic provides support for the following: LCD/Keypad interface, daughtercard slot support, buffer control, and address decoding/interrupt routing for other system peripherals.

[0126]FIG. 11 depicts a power supply card as providing three DC-DC converters that provide the device hardware platform's required supply voltages (3.3VDC, 5VDC and 12VDC). The supported input voltage range is between 6VDC and 35VDC; the circuit provides protection against incorrect or reverse-polarity input Voltages.

[0127] It is to be understood that the device herein described could be employed for uses and purposes beyond those described. The foregoing description of the exemplary embodiment of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not with this detailed description, but rather by the claims appended hereto. 

1. A multi-protocol adapter having circuitry and programs for in-vehicle and non-vehicle networks, the adapter comprising: simultaneous interaction between the adapter and at least one device using multiple protocols.
 2. A multi-protocol adapter having circuitry and programs for in-vehicle and non-vehicle networks according to claim 1 , the adapter further comprising: at least one daughter board for expansion of the adapter.
 3. A multi-protocol adapter having circuitry and programs for in-vehicle and non-vehicle networks according to claim 1 , the adapter further comprising: an embedded operating system.
 4. A multi-protocol adapter having circuitry and programs for in-vehicle and non-vehicle networks, the adapter comprising: an integrated CPU having an embedded operating system; the CPU having simultaneous interaction between at least one multiple device using multiple protocols; at least one daughter board having interconnect slots; an interface for interconnection of the at least one daughterboard; a serial port for diagnostics and system maintenance; a flash socket for storage of system software; a slot for connection of a peripheral; a socket for connection of RAM; an interface for connection of system RAM; an interface for connection of mass-storage devices; a battery for clock and configuration memory backup; an infrared serial interface; and a piezoelectric speaker.
 5. A multi-protocol adapter having circuitry and programs for in-vehicle and non-vehicle networks according to claim 3 wherein the embedded operating system comprises Linux operating system.
 6. A multi-protocol adapter having circuitry and programs for in-vehicle and non-vehicle networks according to claim 1 , the adapter further comprising: definition of communication routines between the adapter and a client via a host device, and communication between the adapter and the client after definition of communication routines between the adapter and the client.
 7. A multi-protocol adapter having circuitry for use with programs for in-vehicle and non-vehicle networks according to claim 1 , the adapter further comprising: a TCP/IP connection established between two software elements, the connection of serial multiplex network messages between software entities being generalized without knowledge of a specific type of multiplex network.
 8. A program for use with a multi-protocol adapter for in-vehicle and non-vehicle networks, the program comprising: a server program handling communications between a source entity and a destination entity.
 9. A program for use with a multi-protocol adapter for in-vehicle and non-vehicle networks, the program according to claim 8 further comprising: at least one of message scheduler, a message responder, a message filter and a script loader.
 10. A method of using the multi-protocol adapter according to claim 1 comprising the following steps: interacting between the adapter and multiple devices using multiple protocols.
 11. A method of using the multi-protocol adapter according to claim 10 wherein the step of interacting between the adapter and multiple devices using multiple protocols being simultaneously interacting.
 12. The multi-protocol adapter according to claim 1 further comprising: an on-board web server.
 13. The multi-protocol adapter according to claim 12 further comprising: communication between users of the adapter and the adapter via a web browser technology.
 14. The multi-protocol adapter according to claim 13 further comprising communication between users of the adapter and the adapter via a web browser with HTML. 